package com.sh.data.engine.domain.authority.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sh.data.engine.domain.authority.model.domain.ApplicationKeyDomain;
import com.sh.data.engine.domain.base.model.PageResult;
import com.sh.data.engine.domain.management.model.param.BaseQueryParam;
import com.sh.data.engine.repository.dao.authority.entity.ApplicationKeyEntity;


public interface AccessKeyService extends IService<ApplicationKeyEntity> {

    ApplicationKeyDomain createAccessKey(String description);

    PageResult<ApplicationKeyDomain> getAccessKey(BaseQueryParam param);

    int updateAKState(String accessKey);

    int updateDescription(String description, String accessKey);

    int deleteAccessKey(String accessKey);
}
